package com.zhonghui.dolo.manager.dao;

import com.zhonghui.dolo.manager.model.GoodsCategory;

import java.util.List;

public interface GoodsCategoryDao {
    GoodsCategory getCategoryById(Integer categoryId);

    List<GoodsCategory> findCategoryListByParentId(Integer parentId);

    List<GoodsCategory> findCategoryList(String categoryName);

    int add(GoodsCategory category);
}
